/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const geographyRouter = {
  path: '/geography',
  component: Layout,
  redirect: 'noRedirect',
  name: '地理区域',
  hidden:true,
  meta: {
    title: '地理区域', icon: 'guide'
  },
  children: [
    {
      path: 'main',
      component: () => import('@/views/geography/main'),
      name: '概览',
      hidden:true,
      meta: { title: '概览', icon: 'guide' }
    },
    {
      path: 'region',
      component: () => import('@/views/geography/region/region'),
      name: '行政区域',
      hidden:true,
      meta: { title: '行政区域', icon: 'guide' }
    },
    {
      path: 'region-add',
      component: () => import('@/views/geography/region/region-add'),
      name: '行政区域编辑',
      hidden:true,
      meta: { title: '行政区域编辑', icon: 'guide' }
    },
    {
      path: 'company-add',
      component: () => import('@/views/geography/company/company-add'),
      name: '机构编辑',
      hidden:true,
      meta: { title: '机构编辑', icon: 'guide' }
    },
    {
      path: 'company',
      component: () => import('@/views/geography/company/company'),
      name: '机构',
      hidden:true,
      meta: { title: '机构', icon: 'guide' }
    },
    {
      path: 'mineral-add',
      component: () => import('@/views/geography/mineral/mineral-add'),
      name: '机构编辑',
      hidden:true,
      meta: { title: '机构编辑', icon: 'guide' }
    },
    {
      path: 'mineral',
      component: () => import('@/views/geography/mineral/mineral'),
      name: '机构',
      hidden:true,
      meta: { title: '机构', icon: 'guide' }
    }
  ]
}

export default geographyRouter
